<template>
  <input
    type="text"
    :value="username"
    placeholder="用户名"
    @input="$emit('update:username', $event.target.value)"
  />
  <input
    type="password"
    :value="password"
    placeholder="密码"
    @input="$emit('update:password', $event.target.value)"
  />
</template>
<script>
export default {
  props: ["username", "password"],
  // emits: ["update:username", "update:password"],
};
</script>
